
import { createRouter, createWebHistory } from "vue-router";
import Layout from '/@view/layout/index.vue'

// 路由信息
const routes = [
    {
        path: "/",
        name: "Index",
        component: Layout
    }
];

// 导出路由
const router = createRouter({
    history: createWebHistory(),
    routes
});

export default router;